using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OleDb;

namespace RCA1._0
{
	public class DataProvider
	{
		public OleDbConnection Connect()
		{
            string _connectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\RoyalDB.accdb;Persist Security Info=False;";
			OleDbConnection cn = new OleDbConnection(_connectionString);
			cn.Open();
			return cn;
		}
	}
}
